package com.qy139.auth.service;

import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.IService;
import com.qy139.entity.TabUser;
import com.qy139.util.Result;
import org.springframework.web.bind.annotation.RequestBody;

import java.util.List;

/**
 * <p>
 *  服务类
 * </p>
 *
 * @author yuhaochen
 * @since 2021-12-01
 */
public interface ITabUserService extends IService<TabUser> {
    List<String> findRolesById(Integer id);
    IPage<TabUser> selectAllUser(Page<TabUser> page,String name);
    Result addUser(TabUser tabUser);
    Result updUser(TabUser tabUser);
    Result deleteUser(TabUser tabUser);

}
